<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>1BOM的组成</title>
	</head>
	<body>
		<script>
		/* 	alert(1);
			window.alert(11);
			var num = 2;
			alert(num);
			alert(window.num);
			
			function func(){
				console.log('我弹出了');
			}
			window.func() */
			// var name = '大周老师';
			// console.log(name);
			// name是window下的一个特殊的属性
			console.log(window.name);
		</script>
		
	</body>
</html>